﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Tebbee.Business.Server
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IStatisticSer" in both code and config file together.
    [ServiceContract]
    public interface IStatisticSer
    {
        [OperationContract]
        ICollection<User_Newsest_Result> Statistic_NewestUser();
        [OperationContract]
        ICollection<User_Statistic_Result> Statistic_User(int year);
        [OperationContract]
        Statistic_HitsAds_Result Statistic_HitsAds();
        [OperationContract]
        Statistic_ViewLikeRate_Result Statistic_ViewLikeRate();
        [OperationContract]
        ICollection<Statistic_likeViewHits_Result> Statistic_LikeViewHits(int year);
        [OperationContract]
        ICollection<Statistic_Details_Result> Statistic_Details(DateTime from, DateTime to);
        [OperationContract]
        Statistic_CountAdsHitUser_Result Statistic_CountAdsHitUser();
        [OperationContract]
        ICollection<String> Email_GetForBroadcast();
    }
}
